package com.wulis.provider.authority.model.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author WuliBao
 * @date 2020-04-21
 */
@Data
@ApiModel(description ="验证码登录DTO")
public class CodeLoginDto {
    
    @NotBlank
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;
    
    @NotNull
    @ApiModelProperty(value = "验证码")
    private Integer code;
}
